/* 左侧菜单栏schema */

var mongoose = require('mongoose');


/* 模块数据库表 */
var MenuSchema = new mongoose.Schema({
    M_name: String,
    M_rank: String,
    pre_id: String,
    user: String,
    module: String
});

/* 数据库表模型化 */
var Menu = mongoose.model('Menu', MenuSchema);

/* 导出模型 */
module.exports = Menu;